package com.zhiyou100.video.model;

import java.util.Date;
import java.util.HashSet;
import java.util.Set;

public class Course {
    private Integer id;

    private String courseName;

    private String courseDescr;

    private Date insertTime;

    private Date updateTime;

    private Subject subjectId;
    
   
	private Set<Video> videoSet = new HashSet<>();


	public Integer getId() {
		return id;
	}


	public void setId(Integer id) {
		this.id = id;
	}


	public String getCourseName() {
		return courseName;
	}


	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}


	public String getCourseDescr() {
		return courseDescr;
	}


	public void setCourseDescr(String courseDescr) {
		this.courseDescr = courseDescr;
	}


	public Date getInsertTime() {
		return insertTime;
	}


	public void setInsertTime(Date insertTime) {
		this.insertTime = insertTime;
	}


	public Date getUpdateTime() {
		return updateTime;
	}


	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}


	public Subject getSubjectId() {
		return subjectId;
	}


	public void setSubjectId(Subject subjectId) {
		this.subjectId = subjectId;
	}


	
	public Set<Video> getVideoSet() {
		return videoSet;
	}


	public void setVideoSet(Set<Video> videoSet) {
		this.videoSet = videoSet;
	}


	@Override
	public String toString() {
		return "Course [id=" + id + ", courseName=" + courseName + ", courseDescr=" + courseDescr + ", insertTime="
				+ insertTime + ", updateTime=" + updateTime + "]";
	}


	
	
	
    
}